package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 质检计划管理对象 tb_quality_inspection_plan
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class QualityInspectionPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 质检计划唯一标识 */
    private Long planId;

    /** 产品ID，外键关联产品表 */
    @Excel(name = "产品ID，外键关联产品表")
    private Long productId;

    /** 计划日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planDate;

    /** 检验项目 */
    @Excel(name = "检验项目")
    private String inspectionItems;

    /** 检验标准 */
    @Excel(name = "检验标准")
    private String inspectionStandards;

    /** 负责人ID，外键关联员工表 */
    @Excel(name = "负责人ID，外键关联员工表")
    private Long responsiblePersonId;

    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setPlanDate(Date planDate) 
    {
        this.planDate = planDate;
    }

    public Date getPlanDate() 
    {
        return planDate;
    }
    public void setInspectionItems(String inspectionItems) 
    {
        this.inspectionItems = inspectionItems;
    }

    public String getInspectionItems() 
    {
        return inspectionItems;
    }
    public void setInspectionStandards(String inspectionStandards) 
    {
        this.inspectionStandards = inspectionStandards;
    }

    public String getInspectionStandards() 
    {
        return inspectionStandards;
    }
    public void setResponsiblePersonId(Long responsiblePersonId) 
    {
        this.responsiblePersonId = responsiblePersonId;
    }

    public Long getResponsiblePersonId() 
    {
        return responsiblePersonId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("productId", getProductId())
            .append("planDate", getPlanDate())
            .append("inspectionItems", getInspectionItems())
            .append("inspectionStandards", getInspectionStandards())
            .append("responsiblePersonId", getResponsiblePersonId())
            .toString();
    }
}
